﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Platform.Amazon.Model {

    [XmlTypeAttribute(AnonymousType = true)]
    public class Message {
        public int MessageID { get; set; }

        public string OperationType { get; set; }

        public Product Product { get; set; }
        public ProductImg ProductImage { get; set; }
        public Inventory Inventory { get; set; }
        public Relationship Relationship { get; set; }
        public Price Price { get; set; }

        public Message() { }

        public Message(int msgId, string optType) {
            MessageID = msgId;
            OperationType = optType;        
        }
    }
}
